package entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.sql.Date;


/**
 * @program: personnel_management_system
 * @description: 合同表
 * @author: Mr.Sun
 * @create: 2020-05-24 20:50
 **/
@Getter
@Setter
@ToString
public class Contract {
    private Integer c_id;
    private String type;
    private Date date;
    private Date duration;
    private Integer emp_id;
    private Integer work_time;

    public Contract() {
    }

    public Contract(Integer c_id, String type, Date date, Date duration, Integer emp_id, Integer work_time) {
        this.c_id = c_id;
        this.type = type;
        this.date = date;
        this.duration = duration;
        this.emp_id = emp_id;
        this.work_time = work_time;
    }
}
